<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.8.5"/>
<title>avbuf: xavbuf.c File Reference</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="navtree.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="resize.js"></script>
<script type="text/javascript" src="navtree.js"></script>
<script type="text/javascript">
  $(document).ready(initResizable);
  $(window).load(resizeHeight);
</script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
<link href="HTML_custom.css" rel="stylesheet" type="text/css"/>
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  <td id="projectlogo"><img alt="Logo" src="xlogo_bg.png"/></td>
  <td style="padding-left: 0.5em;">
   <div id="projectname">avbuf
   </div>
   <div id="projectbrief">Vitis Drivers API Documentation</div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.8.5 -->
  <div id="navrow1" class="tabs">
    <ul class="tablist">
      <li><a href="index.html"><span>Overview</span></a></li>
      <li><a href="annotated.html"><span>Data&#160;Structures</span></a></li>
      <li><a href="globals.html"><span>APIs</span></a></li>
      <li><a href="files.html"><span>File&#160;List</span></a></li>
    </ul>
  </div>
</div><!-- top -->
<div id="side-nav" class="ui-resizable side-nav-resizable">
  <div id="nav-tree">
    <div id="nav-tree-contents">
      <div id="nav-sync" class="sync"></div>
    </div>
  </div>
  <div id="splitbar" style="-moz-user-select:none;" 
       class="ui-resizable-handle">
  </div>
</div>
<script type="text/javascript">
$(document).ready(function(){initNavTree('xavbuf_8c.html','');});
</script>
<div id="doc-content">
<div class="header">
  <div class="summary">
<a href="#func-members">Functions</a>  </div>
  <div class="headertitle">
<div class="title">xavbuf.c File Reference</div>  </div>
</div><!--header-->
<div class="contents">
<a name="details" id="details"></a><h2 class="groupheader">Overview</h2>
<div class="textblock"><p>This file implements all the functions related to the Video Pipeline of the DisplayPort Subsystem. </p>
<p>See <a class="el" href="xavbuf_8h.html" title="This file implements all the functions related to the Video Pipeline of the DisplayPort Subsystem...">xavbuf.h</a> for the detailed description of the driver.</p>
<dl class="section note"><dt>Note</dt><dd>None.</dd></dl>
<pre>
MODIFICATION HISTORY:</pre><pre>Ver   Who  Date     Changes
</p>
<hr/>
<p>
1.0   aad  06/24/17 Initial release.
2.0   aad  10/08/17 Some APIs to use enums instead of Macros.
               Some bug fixes.
2.2   aad  04/26/18 Fixed Warnings
</pre> </div><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="func-members"></a>
Functions</h2></td></tr>
<tr class="memitem:a34a4a1b8108602ca4fe237958530b367"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="xavbuf_8c.html#a34a4a1b8108602ca4fe237958530b367">XAVBuf_CfgInitialize</a> (<a class="el" href="struct_x_a_v_buf.html">XAVBuf</a> *InstancePtr, u32 BaseAddr, u16 DeviceId)</td></tr>
<tr class="memdesc:a34a4a1b8108602ca4fe237958530b367"><td class="mdescLeft">&#160;</td><td class="mdescRight">This function intializes the configuration for the AVBuf Instance.  <a href="#a34a4a1b8108602ca4fe237958530b367">More...</a><br/></td></tr>
<tr class="separator:a34a4a1b8108602ca4fe237958530b367"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a1a6ad12fa14a39a0ef60cfc6332ae885"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="xavbuf_8c.html#a1a6ad12fa14a39a0ef60cfc6332ae885">XAVBuf_Initialize</a> (<a class="el" href="struct_x_a_v_buf.html">XAVBuf</a> *InstancePtr)</td></tr>
<tr class="memdesc:a1a6ad12fa14a39a0ef60cfc6332ae885"><td class="mdescLeft">&#160;</td><td class="mdescRight">This function initializes all the data structures of the <a class="el" href="struct_x_a_v_buf.html" title="The XAVBuf driver instance data. ">XAVBuf</a> Instance.  <a href="#a1a6ad12fa14a39a0ef60cfc6332ae885">More...</a><br/></td></tr>
<tr class="separator:a1a6ad12fa14a39a0ef60cfc6332ae885"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a851d07f684e377a0401cc5e3d877e239"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="xavbuf_8c.html#a851d07f684e377a0401cc5e3d877e239">XAVBuf_InputVideoSelect</a> (<a class="el" href="struct_x_a_v_buf.html">XAVBuf</a> *InstancePtr, <a class="el" href="xavbuf_8h.html#a00178d9299a9bc55688188074b9f8451">XAVBuf_VideoStream</a> VidStream, <a class="el" href="xavbuf_8h.html#ab2e5d15b72ebd1736f0bc533d9e555de">XAVBuf_GfxStream</a> GfxStream)</td></tr>
<tr class="memdesc:a851d07f684e377a0401cc5e3d877e239"><td class="mdescLeft">&#160;</td><td class="mdescRight">This function selects the source for the Video and Graphics streams that are passed on to the blender block.  <a href="#a851d07f684e377a0401cc5e3d877e239">More...</a><br/></td></tr>
<tr class="separator:a851d07f684e377a0401cc5e3d877e239"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a13bd54c5d3414d4c77383f081232b4d6"><td class="memItemLeft" align="right" valign="top">int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="xavbuf_8c.html#a13bd54c5d3414d4c77383f081232b4d6">XAVBuf_SetInputNonLiveVideoFormat</a> (<a class="el" href="struct_x_a_v_buf.html">XAVBuf</a> *InstancePtr, <a class="el" href="xavbuf_8h.html#a441214e71757582f909cb3ef2e895df1">XAVBuf_VideoFormat</a> Format)</td></tr>
<tr class="memdesc:a13bd54c5d3414d4c77383f081232b4d6"><td class="mdescLeft">&#160;</td><td class="mdescRight">This function sets the video format for the non-live video.  <a href="#a13bd54c5d3414d4c77383f081232b4d6">More...</a><br/></td></tr>
<tr class="separator:a13bd54c5d3414d4c77383f081232b4d6"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a8ff75d802f1de7e76dafd3accad6c9ca"><td class="memItemLeft" align="right" valign="top">int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="xavbuf_8c.html#a8ff75d802f1de7e76dafd3accad6c9ca">XAVBuf_SetInputNonLiveGraphicsFormat</a> (<a class="el" href="struct_x_a_v_buf.html">XAVBuf</a> *InstancePtr, <a class="el" href="xavbuf_8h.html#a441214e71757582f909cb3ef2e895df1">XAVBuf_VideoFormat</a> Format)</td></tr>
<tr class="memdesc:a8ff75d802f1de7e76dafd3accad6c9ca"><td class="mdescLeft">&#160;</td><td class="mdescRight">This function sets the graphics format for the non-live video.  <a href="#a8ff75d802f1de7e76dafd3accad6c9ca">More...</a><br/></td></tr>
<tr class="separator:a8ff75d802f1de7e76dafd3accad6c9ca"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a1eee05c210cea29032460c7bb45d280f"><td class="memItemLeft" align="right" valign="top">int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="xavbuf_8c.html#a1eee05c210cea29032460c7bb45d280f">XAVBuf_SetInputLiveVideoFormat</a> (<a class="el" href="struct_x_a_v_buf.html">XAVBuf</a> *InstancePtr, <a class="el" href="xavbuf_8h.html#a441214e71757582f909cb3ef2e895df1">XAVBuf_VideoFormat</a> Format)</td></tr>
<tr class="memdesc:a1eee05c210cea29032460c7bb45d280f"><td class="mdescLeft">&#160;</td><td class="mdescRight">This function sets the video format for the live video.  <a href="#a1eee05c210cea29032460c7bb45d280f">More...</a><br/></td></tr>
<tr class="separator:a1eee05c210cea29032460c7bb45d280f"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a38fd85d70a04c7151b0739af9aad16fc"><td class="memItemLeft" align="right" valign="top">int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="xavbuf_8c.html#a38fd85d70a04c7151b0739af9aad16fc">XAVBuf_SetInputLiveGraphicsFormat</a> (<a class="el" href="struct_x_a_v_buf.html">XAVBuf</a> *InstancePtr, <a class="el" href="xavbuf_8h.html#a441214e71757582f909cb3ef2e895df1">XAVBuf_VideoFormat</a> Format)</td></tr>
<tr class="memdesc:a38fd85d70a04c7151b0739af9aad16fc"><td class="mdescLeft">&#160;</td><td class="mdescRight">This function sets the graphics format for the live video.  <a href="#a38fd85d70a04c7151b0739af9aad16fc">More...</a><br/></td></tr>
<tr class="separator:a38fd85d70a04c7151b0739af9aad16fc"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a675e0417710abf7fa03fce7df6611541"><td class="memItemLeft" align="right" valign="top">int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="xavbuf_8c.html#a675e0417710abf7fa03fce7df6611541">XAVBuf_SetOutputVideoFormat</a> (<a class="el" href="struct_x_a_v_buf.html">XAVBuf</a> *InstancePtr, <a class="el" href="xavbuf_8h.html#a441214e71757582f909cb3ef2e895df1">XAVBuf_VideoFormat</a> Format)</td></tr>
<tr class="memdesc:a675e0417710abf7fa03fce7df6611541"><td class="mdescLeft">&#160;</td><td class="mdescRight">This function sets the Output Video Format.  <a href="#a675e0417710abf7fa03fce7df6611541">More...</a><br/></td></tr>
<tr class="separator:a675e0417710abf7fa03fce7df6611541"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a34995878c5a7b469921b64e462f55edd"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="xavbuf_8c.html#a34995878c5a7b469921b64e462f55edd">XAVBuf_SetAudioVideoClkSrc</a> (<a class="el" href="struct_x_a_v_buf.html">XAVBuf</a> *InstancePtr, u8 VideoClk, u8 AudioClk)</td></tr>
<tr class="memdesc:a34995878c5a7b469921b64e462f55edd"><td class="mdescLeft">&#160;</td><td class="mdescRight">This function sets the Audio and Video Clock Source and the video timing source.  <a href="#a34995878c5a7b469921b64e462f55edd">More...</a><br/></td></tr>
<tr class="separator:a34995878c5a7b469921b64e462f55edd"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:af18126619d9c9b2ffae8595df2448d01"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="xavbuf_8c.html#af18126619d9c9b2ffae8595df2448d01">XAVBuf_SoftReset</a> (<a class="el" href="struct_x_a_v_buf.html">XAVBuf</a> *InstancePtr)</td></tr>
<tr class="memdesc:af18126619d9c9b2ffae8595df2448d01"><td class="mdescLeft">&#160;</td><td class="mdescRight">This function applies a soft reset to the Audio Video pipeline.  <a href="#af18126619d9c9b2ffae8595df2448d01">More...</a><br/></td></tr>
<tr class="separator:af18126619d9c9b2ffae8595df2448d01"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a226a30c6c6c1094c5ed9942982925fb5"><td class="memItemLeft" align="right" valign="top"><a class="el" href="struct_x_a_v_buf___video_attribute.html">XAVBuf_VideoAttribute</a> *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="xavbuf_8c.html#a226a30c6c6c1094c5ed9942982925fb5">XAVBuf_GetLiveVideoAttribute</a> (<a class="el" href="xavbuf_8h.html#a441214e71757582f909cb3ef2e895df1">XAVBuf_VideoFormat</a> Format)</td></tr>
<tr class="memdesc:a226a30c6c6c1094c5ed9942982925fb5"><td class="mdescLeft">&#160;</td><td class="mdescRight">This function looks up if the video format is valid or not for the non-live video datapath and returns a pointer to the attributes of the video.  <a href="#a226a30c6c6c1094c5ed9942982925fb5">More...</a><br/></td></tr>
<tr class="separator:a226a30c6c6c1094c5ed9942982925fb5"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a6702407d9c075c1a956ba4c86a755a2e"><td class="memItemLeft" align="right" valign="top"><a class="el" href="struct_x_a_v_buf___video_attribute.html">XAVBuf_VideoAttribute</a> *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="xavbuf_8c.html#a6702407d9c075c1a956ba4c86a755a2e">XAVBuf_GetNLiveVideoAttribute</a> (<a class="el" href="xavbuf_8h.html#a441214e71757582f909cb3ef2e895df1">XAVBuf_VideoFormat</a> Format)</td></tr>
<tr class="memdesc:a6702407d9c075c1a956ba4c86a755a2e"><td class="mdescLeft">&#160;</td><td class="mdescRight">This function looks up if the video format is valid or not and returns a pointer to the attributes of the video.  <a href="#a6702407d9c075c1a956ba4c86a755a2e">More...</a><br/></td></tr>
<tr class="separator:a6702407d9c075c1a956ba4c86a755a2e"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a9f152e09bebf8b6d4ff758893802f34d"><td class="memItemLeft" align="right" valign="top"><a class="el" href="struct_x_a_v_buf___video_attribute.html">XAVBuf_VideoAttribute</a> *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="xavbuf_8c.html#a9f152e09bebf8b6d4ff758893802f34d">XAVBuf_GetNLGraphicsAttribute</a> (<a class="el" href="xavbuf_8h.html#a441214e71757582f909cb3ef2e895df1">XAVBuf_VideoFormat</a> Format)</td></tr>
<tr class="memdesc:a9f152e09bebf8b6d4ff758893802f34d"><td class="mdescLeft">&#160;</td><td class="mdescRight">This function looks up if the video format is valid or not and returns a pointer to the attributes of the video.  <a href="#a9f152e09bebf8b6d4ff758893802f34d">More...</a><br/></td></tr>
<tr class="separator:a9f152e09bebf8b6d4ff758893802f34d"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a15d07fa625f1a4c7f2993e800f655a0e"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="xavbuf_8c.html#a15d07fa625f1a4c7f2993e800f655a0e">XAVBuf_ConfigureVideoPipeline</a> (<a class="el" href="struct_x_a_v_buf.html">XAVBuf</a> *InstancePtr)</td></tr>
<tr class="memdesc:a15d07fa625f1a4c7f2993e800f655a0e"><td class="mdescLeft">&#160;</td><td class="mdescRight">This function configures the Video Pipeline.  <a href="#a15d07fa625f1a4c7f2993e800f655a0e">More...</a><br/></td></tr>
<tr class="separator:a15d07fa625f1a4c7f2993e800f655a0e"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:af8e87bfbe013d580f97fa1f0ed8d053c"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="xavbuf_8c.html#af8e87bfbe013d580f97fa1f0ed8d053c">XAVBuf_ConfigureGraphicsPipeline</a> (<a class="el" href="struct_x_a_v_buf.html">XAVBuf</a> *InstancePtr)</td></tr>
<tr class="memdesc:af8e87bfbe013d580f97fa1f0ed8d053c"><td class="mdescLeft">&#160;</td><td class="mdescRight">This function configures the Graphics Pipeline.  <a href="#af8e87bfbe013d580f97fa1f0ed8d053c">More...</a><br/></td></tr>
<tr class="separator:af8e87bfbe013d580f97fa1f0ed8d053c"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aa10d2d81056ad9fb8121b349592fe394"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="xavbuf_8c.html#aa10d2d81056ad9fb8121b349592fe394">XAVBuf_BlendSetBgColor</a> (<a class="el" href="struct_x_a_v_buf.html">XAVBuf</a> *InstancePtr, <a class="el" href="struct_x_a_v_buf___blender_bg_clr.html">XAVBuf_BlenderBgClr</a> *Color)</td></tr>
<tr class="memdesc:aa10d2d81056ad9fb8121b349592fe394"><td class="mdescLeft">&#160;</td><td class="mdescRight">This function sets the blender background color.  <a href="#aa10d2d81056ad9fb8121b349592fe394">More...</a><br/></td></tr>
<tr class="separator:aa10d2d81056ad9fb8121b349592fe394"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ab888f7066ef5e33da06231015e4b221c"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="xavbuf_8c.html#ab888f7066ef5e33da06231015e4b221c">XAVBuf_SetBlenderAlpha</a> (<a class="el" href="struct_x_a_v_buf.html">XAVBuf</a> *InstancePtr, u8 Alpha, u8 Enable)</td></tr>
<tr class="memdesc:ab888f7066ef5e33da06231015e4b221c"><td class="mdescLeft">&#160;</td><td class="mdescRight">This function enables or disables global alpha.  <a href="#ab888f7066ef5e33da06231015e4b221c">More...</a><br/></td></tr>
<tr class="separator:ab888f7066ef5e33da06231015e4b221c"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aeb5fef36526fe911b5c640d70e9bb598"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="xavbuf_8c.html#aeb5fef36526fe911b5c640d70e9bb598">XAVBuf_ConfigureOutputVideo</a> (<a class="el" href="struct_x_a_v_buf.html">XAVBuf</a> *InstancePtr)</td></tr>
<tr class="memdesc:aeb5fef36526fe911b5c640d70e9bb598"><td class="mdescLeft">&#160;</td><td class="mdescRight">This function configures the Output of the Video Pipeline.  <a href="#aeb5fef36526fe911b5c640d70e9bb598">More...</a><br/></td></tr>
<tr class="separator:aeb5fef36526fe911b5c640d70e9bb598"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aabb02afb0a290df630dcee4b5b170c36"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="xavbuf_8c.html#aabb02afb0a290df630dcee4b5b170c36">XAVBuf_InputAudioSelect</a> (<a class="el" href="struct_x_a_v_buf.html">XAVBuf</a> *InstancePtr, <a class="el" href="xavbuf_8h.html#a4f8416931907a94349455e4c334683d1">XAVBuf_AudioStream1</a> AudStream1, <a class="el" href="xavbuf_8h.html#a19f79530d9cf1e82cf7fc14bd1cf2aaf">XAVBuf_AudioStream2</a> AudStream2)</td></tr>
<tr class="memdesc:aabb02afb0a290df630dcee4b5b170c36"><td class="mdescLeft">&#160;</td><td class="mdescRight">This function selects the source for audio streams corresponding to the Video and Graphics streams that are passed on to the blender.  <a href="#aabb02afb0a290df630dcee4b5b170c36">More...</a><br/></td></tr>
<tr class="separator:aabb02afb0a290df630dcee4b5b170c36"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:abff93765afd4cd6e693f116335e123d9"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="xavbuf_8c.html#abff93765afd4cd6e693f116335e123d9">XAVBuf_AudioMixerVolumeControl</a> (<a class="el" href="struct_x_a_v_buf.html">XAVBuf</a> *InstancePtr, u8 Channel0Volume, u8 Channel1Volume)</td></tr>
<tr class="memdesc:abff93765afd4cd6e693f116335e123d9"><td class="mdescLeft">&#160;</td><td class="mdescRight">This function sets up the scaling factor for Audio Mixer Volume Control.  <a href="#abff93765afd4cd6e693f116335e123d9">More...</a><br/></td></tr>
<tr class="separator:abff93765afd4cd6e693f116335e123d9"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aa319befa1c0951846a814c6d48a6db82"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="xavbuf_8c.html#aa319befa1c0951846a814c6d48a6db82">XAVBuf_AudioSoftReset</a> (<a class="el" href="struct_x_a_v_buf.html">XAVBuf</a> *InstancePtr)</td></tr>
<tr class="memdesc:aa319befa1c0951846a814c6d48a6db82"><td class="mdescLeft">&#160;</td><td class="mdescRight">This function resets the Audio Pipe.  <a href="#aa319befa1c0951846a814c6d48a6db82">More...</a><br/></td></tr>
<tr class="separator:aa319befa1c0951846a814c6d48a6db82"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a74e953883c5cb3dac530a1ac2ee89e0c"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="xavbuf_8c.html#a74e953883c5cb3dac530a1ac2ee89e0c">XABuf_LineResetDisable</a> (<a class="el" href="struct_x_a_v_buf.html">XAVBuf</a> *InstancePtr, u8 Disable)</td></tr>
<tr class="memdesc:a74e953883c5cb3dac530a1ac2ee89e0c"><td class="mdescLeft">&#160;</td><td class="mdescRight">This function enables End of Line Reset for reduced blanking resolutions.  <a href="#a74e953883c5cb3dac530a1ac2ee89e0c">More...</a><br/></td></tr>
<tr class="separator:a74e953883c5cb3dac530a1ac2ee89e0c"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a2004460db3c2de4802ff6fb705ac1dc3"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="xavbuf_8c.html#a2004460db3c2de4802ff6fb705ac1dc3">XAVBuf_EnableVideoBuffers</a> (<a class="el" href="struct_x_a_v_buf.html">XAVBuf</a> *InstancePtr, u8 Enable)</td></tr>
<tr class="memdesc:a2004460db3c2de4802ff6fb705ac1dc3"><td class="mdescLeft">&#160;</td><td class="mdescRight">This function enables the video channel interface between the DPDMA and the AVBuf.  <a href="#a2004460db3c2de4802ff6fb705ac1dc3">More...</a><br/></td></tr>
<tr class="separator:a2004460db3c2de4802ff6fb705ac1dc3"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a49967c789a4200b19cdd7fec9a682849"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="xavbuf_8c.html#a49967c789a4200b19cdd7fec9a682849">XAVBuf_EnableGraphicsBuffers</a> (<a class="el" href="struct_x_a_v_buf.html">XAVBuf</a> *InstancePtr, u8 Enable)</td></tr>
<tr class="memdesc:a49967c789a4200b19cdd7fec9a682849"><td class="mdescLeft">&#160;</td><td class="mdescRight">This function enables the graphics interface between the DPDMA and the AVBuf.  <a href="#a49967c789a4200b19cdd7fec9a682849">More...</a><br/></td></tr>
<tr class="separator:a49967c789a4200b19cdd7fec9a682849"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:acaf5675e224edcee8083ab9f2c4d82e3"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="xavbuf_8c.html#acaf5675e224edcee8083ab9f2c4d82e3">XAVBuf_EnableAudio0Buffers</a> (<a class="el" href="struct_x_a_v_buf.html">XAVBuf</a> *InstancePtr, u8 Enable)</td></tr>
<tr class="memdesc:acaf5675e224edcee8083ab9f2c4d82e3"><td class="mdescLeft">&#160;</td><td class="mdescRight">This function enables the audio interface between the DPDMA and the AVBuf.  <a href="#acaf5675e224edcee8083ab9f2c4d82e3">More...</a><br/></td></tr>
<tr class="separator:acaf5675e224edcee8083ab9f2c4d82e3"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a741396967470cfe189d309962e87e4c2"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="xavbuf_8c.html#a741396967470cfe189d309962e87e4c2">XAVBuf_EnableAudio1Buffers</a> (<a class="el" href="struct_x_a_v_buf.html">XAVBuf</a> *InstancePtr, u8 Enable)</td></tr>
<tr class="memdesc:a741396967470cfe189d309962e87e4c2"><td class="mdescLeft">&#160;</td><td class="mdescRight">This function enables the audio interface between the DPDMA and the AVBuf.  <a href="#a741396967470cfe189d309962e87e4c2">More...</a><br/></td></tr>
<tr class="separator:a741396967470cfe189d309962e87e4c2"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
<h2 class="groupheader">Function Documentation</h2>
<a class="anchor" id="a74e953883c5cb3dac530a1ac2ee89e0c"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void XABuf_LineResetDisable </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="struct_x_a_v_buf.html">XAVBuf</a> *&#160;</td>
          <td class="paramname"><em>InstancePtr</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">u8&#160;</td>
          <td class="paramname"><em>Disable</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>This function enables End of Line Reset for reduced blanking resolutions. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">InstancePtr</td><td>is a pointer to the <a class="el" href="struct_x_a_v_buf.html" title="The XAVBuf driver instance data. ">XAVBuf</a> Instance. </td></tr>
    <tr><td class="paramname">Disable</td><td>is to be set while using Reduced Blanking Resolutions.</td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>None.</dd></dl>
<dl class="section note"><dt>Note</dt><dd>None. </dd></dl>

<p>References <a class="el" href="xavbuf__hw_8h.html#a58b91865437fac43712fd667e238d14e">XAVBUF_AUD_SOFT_RST</a>, <a class="el" href="xavbuf__hw_8h.html#acc9ef500a33218ad23ee1078c452c219">XAVBuf_ReadReg</a>, and <a class="el" href="xavbuf__hw_8h.html#a16e7e43c2dcc226a26d5e567d6a7dd6e">XAVBuf_WriteReg</a>.</p>

</div>
</div>
<a class="anchor" id="abff93765afd4cd6e693f116335e123d9"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void XAVBuf_AudioMixerVolumeControl </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="struct_x_a_v_buf.html">XAVBuf</a> *&#160;</td>
          <td class="paramname"><em>InstancePtr</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">u8&#160;</td>
          <td class="paramname"><em>Channel0Volume</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">u8&#160;</td>
          <td class="paramname"><em>Channel1Volume</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>This function sets up the scaling factor for Audio Mixer Volume Control. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">InstancePtr</td><td>is a pointer to the <a class="el" href="struct_x_a_v_buf.html" title="The XAVBuf driver instance data. ">XAVBuf</a> instance. </td></tr>
    <tr><td class="paramname">Channel0Volume</td><td>is the volume to be set for Audio from Channel0 </td></tr>
    <tr><td class="paramname">Channel1Volume</td><td>is the volume to be set for Audio from Channel1</td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>None.</dd></dl>
<dl class="section note"><dt>Note</dt><dd>None. </dd></dl>

<p>References <a class="el" href="xavbuf__hw_8h.html#a02c6da1091344780b81aca5937e39ebd">XAVBUF_AUD_MIXER_VOLUME_CONTROL</a>, and <a class="el" href="xavbuf__hw_8h.html#a16e7e43c2dcc226a26d5e567d6a7dd6e">XAVBuf_WriteReg</a>.</p>

</div>
</div>
<a class="anchor" id="aa319befa1c0951846a814c6d48a6db82"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void XAVBuf_AudioSoftReset </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="struct_x_a_v_buf.html">XAVBuf</a> *&#160;</td>
          <td class="paramname"><em>InstancePtr</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>This function resets the Audio Pipe. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">InstancePtr</td><td>is a pointer to the <a class="el" href="struct_x_a_v_buf.html" title="The XAVBuf driver instance data. ">XAVBuf</a> Instance.</td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>None.</dd></dl>
<dl class="section note"><dt>Note</dt><dd>Needed when non-live audio is disabled. </dd></dl>

<p>References <a class="el" href="xavbuf__hw_8h.html#a58b91865437fac43712fd667e238d14e">XAVBUF_AUD_SOFT_RST</a>, <a class="el" href="xavbuf__hw_8h.html#acc9ef500a33218ad23ee1078c452c219">XAVBuf_ReadReg</a>, and <a class="el" href="xavbuf__hw_8h.html#a16e7e43c2dcc226a26d5e567d6a7dd6e">XAVBuf_WriteReg</a>.</p>

</div>
</div>
<a class="anchor" id="aa10d2d81056ad9fb8121b349592fe394"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void XAVBuf_BlendSetBgColor </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="struct_x_a_v_buf.html">XAVBuf</a> *&#160;</td>
          <td class="paramname"><em>InstancePtr</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="struct_x_a_v_buf___blender_bg_clr.html">XAVBuf_BlenderBgClr</a> *&#160;</td>
          <td class="paramname"><em>Color</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>This function sets the blender background color. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">InstancePtr</td><td>is an pointer to the <a class="el" href="struct_x_a_v_buf.html" title="The XAVBuf driver instance data. ">XAVBuf</a> Instance. </td></tr>
    <tr><td class="paramname">Color</td><td>is a pointer to the structure <a class="el" href="struct_x_a_v_buf___blender_bg_clr.html" title="This structure stores the background color information. ">XAVBuf_BlenderBgClr</a></td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>None.</dd></dl>
<dl class="section note"><dt>Note</dt><dd>None. </dd></dl>

<p>References <a class="el" href="xavbuf__hw_8h.html#aeb513ed772a90ab5f779bac96e965f34">XAVBUF_V_BLEND_BG_CLR_0</a>, <a class="el" href="xavbuf__hw_8h.html#a86bb86997a2dfab43afee1a419e19f34">XAVBUF_V_BLEND_BG_CLR_1</a>, <a class="el" href="xavbuf__hw_8h.html#a67e22e9366895c08b74231992a1aac6c">XAVBUF_V_BLEND_BG_CLR_2</a>, and <a class="el" href="xavbuf__hw_8h.html#a16e7e43c2dcc226a26d5e567d6a7dd6e">XAVBuf_WriteReg</a>.</p>

</div>
</div>
<a class="anchor" id="a34a4a1b8108602ca4fe237958530b367"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void XAVBuf_CfgInitialize </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="struct_x_a_v_buf.html">XAVBuf</a> *&#160;</td>
          <td class="paramname"><em>InstancePtr</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">u32&#160;</td>
          <td class="paramname"><em>BaseAddr</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">u16&#160;</td>
          <td class="paramname"><em>DeviceId</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>This function intializes the configuration for the AVBuf Instance. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">InstancePtr</td><td>is a pointer to the <a class="el" href="struct_x_a_v_buf.html" title="The XAVBuf driver instance data. ">XAVBuf</a> instance. </td></tr>
    <tr><td class="paramname">BaseAddr</td><td>sets the base address of the AVBuf instance </td></tr>
    <tr><td class="paramname">DeviceId</td><td>is the id of the device from the design.</td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>None.</dd></dl>
<dl class="section note"><dt>Note</dt><dd>Base address and DeviceId is same as the DP Core driver. </dd></dl>

</div>
</div>
<a class="anchor" id="af8e87bfbe013d580f97fa1f0ed8d053c"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void XAVBuf_ConfigureGraphicsPipeline </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="struct_x_a_v_buf.html">XAVBuf</a> *&#160;</td>
          <td class="paramname"><em>InstancePtr</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>This function configures the Graphics Pipeline. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">InstancePtr</td><td>is an pointer to the <a class="el" href="struct_x_a_v_buf.html" title="The XAVBuf driver instance data. ">XAVBuf</a> Instance.</td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>None.</dd></dl>
<dl class="section note"><dt>Note</dt><dd>None. </dd></dl>

</div>
</div>
<a class="anchor" id="aeb5fef36526fe911b5c640d70e9bb598"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void XAVBuf_ConfigureOutputVideo </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="struct_x_a_v_buf.html">XAVBuf</a> *&#160;</td>
          <td class="paramname"><em>InstancePtr</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>This function configures the Output of the Video Pipeline. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">InstancePtr</td><td>is an pointer to the <a class="el" href="struct_x_a_v_buf.html" title="The XAVBuf driver instance data. ">XAVBuf</a> Instance.</td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>None.</dd></dl>
<dl class="section note"><dt>Note</dt><dd>None. </dd></dl>

<p>References <a class="el" href="xavbuf__hw_8h.html#ac3d148ccdb89e7f1e6769a99231abaea">XAVBUF_V_BLEND_OUTPUT_VID_FORMAT</a>, and <a class="el" href="xavbuf__hw_8h.html#a16e7e43c2dcc226a26d5e567d6a7dd6e">XAVBuf_WriteReg</a>.</p>

</div>
</div>
<a class="anchor" id="a15d07fa625f1a4c7f2993e800f655a0e"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void XAVBuf_ConfigureVideoPipeline </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="struct_x_a_v_buf.html">XAVBuf</a> *&#160;</td>
          <td class="paramname"><em>InstancePtr</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>This function configures the Video Pipeline. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">InstancePtr</td><td>is an pointer to the <a class="el" href="struct_x_a_v_buf.html" title="The XAVBuf driver instance data. ">XAVBuf</a> Instance.</td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>None.</dd></dl>
<dl class="section note"><dt>Note</dt><dd>None. </dd></dl>

</div>
</div>
<a class="anchor" id="acaf5675e224edcee8083ab9f2c4d82e3"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void XAVBuf_EnableAudio0Buffers </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="struct_x_a_v_buf.html">XAVBuf</a> *&#160;</td>
          <td class="paramname"><em>InstancePtr</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">u8&#160;</td>
          <td class="paramname"><em>Enable</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>This function enables the audio interface between the DPDMA and the AVBuf. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">InstancePtr</td><td>is a pointer to the <a class="el" href="struct_x_a_v_buf.html" title="The XAVBuf driver instance data. ">XAVBuf</a> Instance. </td></tr>
    <tr><td class="paramname">Enable</td><td>sets the corresponding buffers.</td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>None.</dd></dl>
<dl class="section note"><dt>Note</dt><dd>None. </dd></dl>

<p>References <a class="el" href="xavbuf__hw_8h.html#a10e16d5358eeaf7b615aabe14367a3f0">XAVBUF_CHBUF4</a>, and <a class="el" href="xavbuf__hw_8h.html#a16e7e43c2dcc226a26d5e567d6a7dd6e">XAVBuf_WriteReg</a>.</p>

</div>
</div>
<a class="anchor" id="a741396967470cfe189d309962e87e4c2"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void XAVBuf_EnableAudio1Buffers </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="struct_x_a_v_buf.html">XAVBuf</a> *&#160;</td>
          <td class="paramname"><em>InstancePtr</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">u8&#160;</td>
          <td class="paramname"><em>Enable</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>This function enables the audio interface between the DPDMA and the AVBuf. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">InstancePtr</td><td>is a pointer to the <a class="el" href="struct_x_a_v_buf.html" title="The XAVBuf driver instance data. ">XAVBuf</a> Instance. </td></tr>
    <tr><td class="paramname">Enable</td><td>sets the corresponding buffers.</td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>None.</dd></dl>
<dl class="section note"><dt>Note</dt><dd>None. </dd></dl>

<p>References <a class="el" href="xavbuf__hw_8h.html#a8bc3638c078896bac034dfd6e3c4633d">XAVBUF_CHBUF5</a>, and <a class="el" href="xavbuf__hw_8h.html#a16e7e43c2dcc226a26d5e567d6a7dd6e">XAVBuf_WriteReg</a>.</p>

</div>
</div>
<a class="anchor" id="a49967c789a4200b19cdd7fec9a682849"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void XAVBuf_EnableGraphicsBuffers </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="struct_x_a_v_buf.html">XAVBuf</a> *&#160;</td>
          <td class="paramname"><em>InstancePtr</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">u8&#160;</td>
          <td class="paramname"><em>Enable</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>This function enables the graphics interface between the DPDMA and the AVBuf. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">InstancePtr</td><td>is a pointer to the <a class="el" href="struct_x_a_v_buf.html" title="The XAVBuf driver instance data. ">XAVBuf</a> Instance. </td></tr>
    <tr><td class="paramname">Enable</td><td>sets the corresponding buffers.</td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>None.</dd></dl>
<dl class="section note"><dt>Note</dt><dd>None. </dd></dl>

<p>References <a class="el" href="xavbuf__hw_8h.html#a1a3dd730034220e6fa04af4aebe473c3">XAVBUF_CHBUF3</a>, and <a class="el" href="xavbuf__hw_8h.html#a16e7e43c2dcc226a26d5e567d6a7dd6e">XAVBuf_WriteReg</a>.</p>

</div>
</div>
<a class="anchor" id="a2004460db3c2de4802ff6fb705ac1dc3"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void XAVBuf_EnableVideoBuffers </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="struct_x_a_v_buf.html">XAVBuf</a> *&#160;</td>
          <td class="paramname"><em>InstancePtr</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">u8&#160;</td>
          <td class="paramname"><em>Enable</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>This function enables the video channel interface between the DPDMA and the AVBuf. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">InstancePtr</td><td>is a pointer to the <a class="el" href="struct_x_a_v_buf.html" title="The XAVBuf driver instance data. ">XAVBuf</a> Instance. </td></tr>
    <tr><td class="paramname">Enable</td><td>sets the corresponding buffers.</td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>None.</dd></dl>
<dl class="section note"><dt>Note</dt><dd>None. </dd></dl>

<p>References <a class="el" href="xavbuf__hw_8h.html#a12830ee62296d3e874dabbd21271ff8a">XAVBUF_CHBUF0</a>, and <a class="el" href="xavbuf__hw_8h.html#a16e7e43c2dcc226a26d5e567d6a7dd6e">XAVBuf_WriteReg</a>.</p>

</div>
</div>
<a class="anchor" id="a226a30c6c6c1094c5ed9942982925fb5"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="struct_x_a_v_buf___video_attribute.html">XAVBuf_VideoAttribute</a>* XAVBuf_GetLiveVideoAttribute </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="xavbuf_8h.html#a441214e71757582f909cb3ef2e895df1">XAVBuf_VideoFormat</a>&#160;</td>
          <td class="paramname"><em>Format</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>This function looks up if the video format is valid or not for the non-live video datapath and returns a pointer to the attributes of the video. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">Format</td><td>takes in the video format for which attributes are being requested.</td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>A pointer to the structure <a class="el" href="struct_x_a_v_buf___video_attribute.html" title="This typedef describes the attributes associated with the video formats. ">XAVBuf_VideoAttribute</a> if the video format is valid, else returns NULL. </dd></dl>
<dl class="section note"><dt>Note</dt><dd>None. </dd></dl>

<p>Referenced by <a class="el" href="xavbuf_8h.html#a38fd85d70a04c7151b0739af9aad16fc">XAVBuf_SetInputLiveGraphicsFormat()</a>, <a class="el" href="xavbuf_8h.html#a1eee05c210cea29032460c7bb45d280f">XAVBuf_SetInputLiveVideoFormat()</a>, and <a class="el" href="xavbuf_8h.html#a675e0417710abf7fa03fce7df6611541">XAVBuf_SetOutputVideoFormat()</a>.</p>

</div>
</div>
<a class="anchor" id="a9f152e09bebf8b6d4ff758893802f34d"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="struct_x_a_v_buf___video_attribute.html">XAVBuf_VideoAttribute</a>* XAVBuf_GetNLGraphicsAttribute </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="xavbuf_8h.html#a441214e71757582f909cb3ef2e895df1">XAVBuf_VideoFormat</a>&#160;</td>
          <td class="paramname"><em>Format</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>This function looks up if the video format is valid or not and returns a pointer to the attributes of the video. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">Format</td><td>takes in the video format for which attributes are being requested.</td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>A pointer to the structure <a class="el" href="struct_x_a_v_buf___video_attribute.html" title="This typedef describes the attributes associated with the video formats. ">XAVBuf_VideoAttribute</a> if the video format is valid, else returns NULL. </dd></dl>
<dl class="section note"><dt>Note</dt><dd>None. </dd></dl>

<p>Referenced by <a class="el" href="xavbuf_8h.html#a8ff75d802f1de7e76dafd3accad6c9ca">XAVBuf_SetInputNonLiveGraphicsFormat()</a>.</p>

</div>
</div>
<a class="anchor" id="a6702407d9c075c1a956ba4c86a755a2e"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="struct_x_a_v_buf___video_attribute.html">XAVBuf_VideoAttribute</a>* XAVBuf_GetNLiveVideoAttribute </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="xavbuf_8h.html#a441214e71757582f909cb3ef2e895df1">XAVBuf_VideoFormat</a>&#160;</td>
          <td class="paramname"><em>Format</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>This function looks up if the video format is valid or not and returns a pointer to the attributes of the video. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">Format</td><td>takes in the video format for which attributes are being requested.</td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>A pointer to the structure <a class="el" href="struct_x_a_v_buf___video_attribute.html" title="This typedef describes the attributes associated with the video formats. ">XAVBuf_VideoAttribute</a> if the video format is valid, else returns NULL. </dd></dl>
<dl class="section note"><dt>Note</dt><dd>None. </dd></dl>

<p>Referenced by <a class="el" href="xavbuf_8h.html#a13bd54c5d3414d4c77383f081232b4d6">XAVBuf_SetInputNonLiveVideoFormat()</a>.</p>

</div>
</div>
<a class="anchor" id="a1a6ad12fa14a39a0ef60cfc6332ae885"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void XAVBuf_Initialize </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="struct_x_a_v_buf.html">XAVBuf</a> *&#160;</td>
          <td class="paramname"><em>InstancePtr</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>This function initializes all the data structures of the <a class="el" href="struct_x_a_v_buf.html" title="The XAVBuf driver instance data. ">XAVBuf</a> Instance. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">InstancePtr</td><td>is a pointer to the <a class="el" href="struct_x_a_v_buf.html" title="The XAVBuf driver instance data. ">XAVBuf</a> instance.</td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>None.</dd></dl>
<dl class="section note"><dt>Note</dt><dd>None. </dd></dl>

<p>References <a class="el" href="xavbuf__hw_8h.html#a58b91865437fac43712fd667e238d14e">XAVBUF_AUD_SOFT_RST</a>, and <a class="el" href="xavbuf__hw_8h.html#a16e7e43c2dcc226a26d5e567d6a7dd6e">XAVBuf_WriteReg</a>.</p>

</div>
</div>
<a class="anchor" id="aabb02afb0a290df630dcee4b5b170c36"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void XAVBuf_InputAudioSelect </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="struct_x_a_v_buf.html">XAVBuf</a> *&#160;</td>
          <td class="paramname"><em>InstancePtr</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="xavbuf_8h.html#a4f8416931907a94349455e4c334683d1">XAVBuf_AudioStream1</a>&#160;</td>
          <td class="paramname"><em>AudStream1</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="xavbuf_8h.html#a19f79530d9cf1e82cf7fc14bd1cf2aaf">XAVBuf_AudioStream2</a>&#160;</td>
          <td class="paramname"><em>AudStream2</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>This function selects the source for audio streams corresponding to the Video and Graphics streams that are passed on to the blender. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">InstancePtr</td><td>is a pointer to the <a class="el" href="struct_x_a_v_buf.html" title="The XAVBuf driver instance data. ">XAVBuf</a> instance. </td></tr>
    <tr><td class="paramname">AudStream1</td><td>selects the audio stream source corresponding to the video source selected </td></tr>
    <tr><td class="paramname">AudStream2</td><td>selects the audio stream source corresponding to the graphics source selected.</td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>None.</dd></dl>
<dl class="section note"><dt>Note</dt><dd>None. </dd></dl>

<p>References <a class="el" href="xavbuf__hw_8h.html#aa71fc12e040d5f0f82f78a1332eca538">XAVBUF_BUF_OUTPUT_AUD_VID_SELECT</a>, <a class="el" href="xavbuf__hw_8h.html#acc9ef500a33218ad23ee1078c452c219">XAVBuf_ReadReg</a>, and <a class="el" href="xavbuf__hw_8h.html#a16e7e43c2dcc226a26d5e567d6a7dd6e">XAVBuf_WriteReg</a>.</p>

</div>
</div>
<a class="anchor" id="a851d07f684e377a0401cc5e3d877e239"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void XAVBuf_InputVideoSelect </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="struct_x_a_v_buf.html">XAVBuf</a> *&#160;</td>
          <td class="paramname"><em>InstancePtr</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="xavbuf_8h.html#a00178d9299a9bc55688188074b9f8451">XAVBuf_VideoStream</a>&#160;</td>
          <td class="paramname"><em>VidStream</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="xavbuf_8h.html#ab2e5d15b72ebd1736f0bc533d9e555de">XAVBuf_GfxStream</a>&#160;</td>
          <td class="paramname"><em>GfxStream</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>This function selects the source for the Video and Graphics streams that are passed on to the blender block. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">InstancePtr</td><td>is a pointer to the <a class="el" href="struct_x_a_v_buf.html" title="The XAVBuf driver instance data. ">XAVBuf</a> instance. </td></tr>
    <tr><td class="paramname">VidStream</td><td>selects the stream coming from the video sources </td></tr>
    <tr><td class="paramname">GfxStream</td><td>selects the stream coming from the graphics sources</td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>None.</dd></dl>
<dl class="section note"><dt>Note</dt><dd>None. </dd></dl>

<p>References <a class="el" href="xavbuf__hw_8h.html#aa71fc12e040d5f0f82f78a1332eca538">XAVBUF_BUF_OUTPUT_AUD_VID_SELECT</a>, <a class="el" href="xavbuf__hw_8h.html#acc9ef500a33218ad23ee1078c452c219">XAVBuf_ReadReg</a>, and <a class="el" href="xavbuf__hw_8h.html#a16e7e43c2dcc226a26d5e567d6a7dd6e">XAVBuf_WriteReg</a>.</p>

</div>
</div>
<a class="anchor" id="a34995878c5a7b469921b64e462f55edd"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void XAVBuf_SetAudioVideoClkSrc </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="struct_x_a_v_buf.html">XAVBuf</a> *&#160;</td>
          <td class="paramname"><em>InstancePtr</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">u8&#160;</td>
          <td class="paramname"><em>VideoClk</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">u8&#160;</td>
          <td class="paramname"><em>AudioClk</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>This function sets the Audio and Video Clock Source and the video timing source. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">InstancePtr</td><td>is a pointer to the <a class="el" href="struct_x_a_v_buf.html" title="The XAVBuf driver instance data. ">XAVBuf</a> instance. </td></tr>
    <tr><td class="paramname">VideoClk</td><td>selects the Video Clock Source </td></tr>
    <tr><td class="paramname">AudioClk</td><td>selects the Audio Clock Source</td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>None.</dd></dl>
<dl class="section note"><dt>Note</dt><dd>System uses PL Clock for Video when Live source is in use. </dd></dl>

<p>References <a class="el" href="xavbuf__hw_8h.html#a68c414b27012805a06a20c65258620f9">XAVBUF_BUF_AUD_VID_CLK_SOURCE</a>, <a class="el" href="xavbuf_8c.html#af18126619d9c9b2ffae8595df2448d01">XAVBuf_SoftReset()</a>, and <a class="el" href="xavbuf__hw_8h.html#a16e7e43c2dcc226a26d5e567d6a7dd6e">XAVBuf_WriteReg</a>.</p>

</div>
</div>
<a class="anchor" id="ab888f7066ef5e33da06231015e4b221c"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void XAVBuf_SetBlenderAlpha </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="struct_x_a_v_buf.html">XAVBuf</a> *&#160;</td>
          <td class="paramname"><em>InstancePtr</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">u8&#160;</td>
          <td class="paramname"><em>Alpha</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">u8&#160;</td>
          <td class="paramname"><em>Enable</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>This function enables or disables global alpha. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">InstancePtr</td><td>is an pointer to the <a class="el" href="struct_x_a_v_buf.html" title="The XAVBuf driver instance data. ">XAVBuf</a> Instance. </td></tr>
    <tr><td class="paramname">Enable</td><td>sets a software flag for global alpha </td></tr>
    <tr><td class="paramname">Alpha</td><td>sets the value for the global alpha blending</td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>None.</dd></dl>
<dl class="section note"><dt>Note</dt><dd>GlobalAlphaEn = 1, enables the global alpha. GlobalAlphaEn = 0, disables the global alpha. Alpha = 0, passes stream2 Alpha = 255, passes stream1 </dd></dl>

<p>References <a class="el" href="xavbuf__hw_8h.html#a9744829139c80e2bc07a5439cfa30f76">XAVBUF_V_BLEND_SET_GLOBAL_ALPHA_REG</a>, and <a class="el" href="xavbuf__hw_8h.html#a16e7e43c2dcc226a26d5e567d6a7dd6e">XAVBuf_WriteReg</a>.</p>

</div>
</div>
<a class="anchor" id="a38fd85d70a04c7151b0739af9aad16fc"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">int XAVBuf_SetInputLiveGraphicsFormat </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="struct_x_a_v_buf.html">XAVBuf</a> *&#160;</td>
          <td class="paramname"><em>InstancePtr</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="xavbuf_8h.html#a441214e71757582f909cb3ef2e895df1">XAVBuf_VideoFormat</a>&#160;</td>
          <td class="paramname"><em>Format</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>This function sets the graphics format for the live video. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">InstancePtr</td><td>is a pointer to the <a class="el" href="struct_x_a_v_buf.html" title="The XAVBuf driver instance data. ">XAVBuf</a> instance. </td></tr>
    <tr><td class="paramname">Format</td><td>is the enum for the non-live video format</td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>XST_SUCCESS if the correct format has been set. XST_FAILURE if the format is invalid.</dd></dl>
<dl class="section note"><dt>Note</dt><dd>None. </dd></dl>

<p>References <a class="el" href="xavbuf_8c.html#a226a30c6c6c1094c5ed9942982925fb5">XAVBuf_GetLiveVideoAttribute()</a>.</p>

</div>
</div>
<a class="anchor" id="a1eee05c210cea29032460c7bb45d280f"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">int XAVBuf_SetInputLiveVideoFormat </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="struct_x_a_v_buf.html">XAVBuf</a> *&#160;</td>
          <td class="paramname"><em>InstancePtr</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="xavbuf_8h.html#a441214e71757582f909cb3ef2e895df1">XAVBuf_VideoFormat</a>&#160;</td>
          <td class="paramname"><em>Format</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>This function sets the video format for the live video. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">InstancePtr</td><td>is a pointer to the <a class="el" href="struct_x_a_v_buf.html" title="The XAVBuf driver instance data. ">XAVBuf</a> instance. </td></tr>
    <tr><td class="paramname">Format</td><td>is the enum for the non-live video format</td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>XST_SUCCESS if the correct format has been set. XST_FAILURE if the format is invalid.</dd></dl>
<dl class="section note"><dt>Note</dt><dd>None. </dd></dl>

<p>References <a class="el" href="xavbuf_8c.html#a226a30c6c6c1094c5ed9942982925fb5">XAVBuf_GetLiveVideoAttribute()</a>.</p>

</div>
</div>
<a class="anchor" id="a8ff75d802f1de7e76dafd3accad6c9ca"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">int XAVBuf_SetInputNonLiveGraphicsFormat </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="struct_x_a_v_buf.html">XAVBuf</a> *&#160;</td>
          <td class="paramname"><em>InstancePtr</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="xavbuf_8h.html#a441214e71757582f909cb3ef2e895df1">XAVBuf_VideoFormat</a>&#160;</td>
          <td class="paramname"><em>Format</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>This function sets the graphics format for the non-live video. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">InstancePtr</td><td>is a pointer to the <a class="el" href="struct_x_a_v_buf.html" title="The XAVBuf driver instance data. ">XAVBuf</a> instance. </td></tr>
    <tr><td class="paramname">Format</td><td>is the enum for the non-live video format</td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>XST_SUCCESS if the correct format has been set. XST_FAILURE if the format is invalid.</dd></dl>
<dl class="section note"><dt>Note</dt><dd>None. </dd></dl>

<p>References <a class="el" href="xavbuf_8c.html#a9f152e09bebf8b6d4ff758893802f34d">XAVBuf_GetNLGraphicsAttribute()</a>.</p>

</div>
</div>
<a class="anchor" id="a13bd54c5d3414d4c77383f081232b4d6"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">int XAVBuf_SetInputNonLiveVideoFormat </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="struct_x_a_v_buf.html">XAVBuf</a> *&#160;</td>
          <td class="paramname"><em>InstancePtr</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="xavbuf_8h.html#a441214e71757582f909cb3ef2e895df1">XAVBuf_VideoFormat</a>&#160;</td>
          <td class="paramname"><em>Format</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>This function sets the video format for the non-live video. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">InstancePtr</td><td>is a pointer to the <a class="el" href="struct_x_a_v_buf.html" title="The XAVBuf driver instance data. ">XAVBuf</a> instance. </td></tr>
    <tr><td class="paramname">Format</td><td>is the enum for the non-live video format</td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>XST_SUCCESS if the correct format has been set. XST_FAILURE if the format is invalid.</dd></dl>
<dl class="section note"><dt>Note</dt><dd>None. </dd></dl>

<p>References <a class="el" href="xavbuf_8c.html#a6702407d9c075c1a956ba4c86a755a2e">XAVBuf_GetNLiveVideoAttribute()</a>.</p>

</div>
</div>
<a class="anchor" id="a675e0417710abf7fa03fce7df6611541"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">int XAVBuf_SetOutputVideoFormat </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="struct_x_a_v_buf.html">XAVBuf</a> *&#160;</td>
          <td class="paramname"><em>InstancePtr</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="xavbuf_8h.html#a441214e71757582f909cb3ef2e895df1">XAVBuf_VideoFormat</a>&#160;</td>
          <td class="paramname"><em>Format</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>This function sets the Output Video Format. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">InstancePtr</td><td>is a pointer to the <a class="el" href="struct_x_a_v_buf.html" title="The XAVBuf driver instance data. ">XAVBuf</a> instance. </td></tr>
    <tr><td class="paramname">Format</td><td>is the enum for the non-live video format</td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>XST_SUCCESS if the correct format has been set. XST_FAILURE if the format is invalid.</dd></dl>
<dl class="section note"><dt>Note</dt><dd>None. </dd></dl>

<p>References <a class="el" href="xavbuf_8c.html#a226a30c6c6c1094c5ed9942982925fb5">XAVBuf_GetLiveVideoAttribute()</a>.</p>

</div>
</div>
<a class="anchor" id="af18126619d9c9b2ffae8595df2448d01"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void XAVBuf_SoftReset </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="struct_x_a_v_buf.html">XAVBuf</a> *&#160;</td>
          <td class="paramname"><em>InstancePtr</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>This function applies a soft reset to the Audio Video pipeline. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">InstancePtr</td><td>is a pointer to the <a class="el" href="struct_x_a_v_buf.html" title="The XAVBuf driver instance data. ">XAVBuf</a> instance.</td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>None.</dd></dl>
<dl class="section note"><dt>Note</dt><dd>None. </dd></dl>

<p>References <a class="el" href="xavbuf__hw_8h.html#af293f6e24faeb0c5e5c8a86898928352">XAVBUF_BUF_SRST_REG</a>, and <a class="el" href="xavbuf__hw_8h.html#a16e7e43c2dcc226a26d5e567d6a7dd6e">XAVBuf_WriteReg</a>.</p>

<p>Referenced by <a class="el" href="xavbuf_8h.html#a34995878c5a7b469921b64e462f55edd">XAVBuf_SetAudioVideoClkSrc()</a>.</p>

</div>
</div>
</div><!-- contents -->
</div><!-- doc-content -->
<div id="nav-path" class="navpath"><!-- id is needed for treeview function! -->
	<p class="footer">&copy; Copyright 2015-2022 Xilinx, Inc. All Rights Reserved.</p>
	<p class="footer">&copy; Copyright 2022-2023 Advanced Micro Devices, Inc. All Rights Reserved.</p>
</div>
</body>
</html>
